package com.day0916;

public class Car {
    String brand;//品牌
    String model;//型号
    double price;//价格
    String color;//颜色

    public void show(){
        System.out.println("品牌：" + brand);
        System.out.println("型号：" + model);
        System.out.println("价格：" + price);
        System.out.println("颜色：" + color);
    }
    public void go(){
        System.out.println("会前进！");
    }
    public void back(){
        System.out.println("会后退！");
    }
}
